import java.util.Deque;
import java.util.LinkedList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        LinkedList<Integer> stack=new LinkedList<>();
        stack.push(1);//头插法入栈

        Deque<Integer> stack2=new LinkedList<>();
    }
}
